Tutorial > Programming DC Output > DC Voltage

Resetting the Instrument | Programming AC Output
Programming DC Output | Triggering Output Changes | Output-on Phase Control
Measurement | Status Monitoring | Error Checking

Programming DC Output

DC Voltage | Current Limit

DC Voltage

- Setting the DC voltage

The DC output voltage is controlled with the VOLTage:OFFSet command. Prior to programming the output, it is recommended that the appropriate output mode and voltage range be selected.

 

:OUTPut:COUPling DC   'Selects DC mode
:VOLTage:RANGe 135   'Selects the 135 V range
:VOLTage:OFFSet 40   'Sets 40 V
:OUTPut ON   'Turns the output on

Once the power supply output is enabled (turned on), output mode and voltage range settings cannot be changed. These commands operate only when the output is off. On the other hand, the VOLTage:OFFSet setting can always be changed while the output is on.

- Setting the DC voltage limit

The minimum and maximum allowable values for VOLTage:OFFSet command may vary depending on the VOLTage:OFFSet:LIMit settings.

The maximum allowable value for VOLTage:OFFSet also varies depending on the VOLTage:RANGe setting.

 

:VOLTage:RANGe 135   'Selects the 135 V range
:VOLTage:OFFSet:LIMit:UPPer MAX   'Sets upper limit to physical max 388 V
:VOLTage:OFFSet:LIMit:LOWer MIN   'Sets lower limit to physical min -388 V
:VOLTage:OFFSet 40   'Sets 40 V

Above example expands the upper/lower limits to the widest span allowing the VOLTage:OFFSet to be set to any value within the given range.

When the VOLTage:RANGe is set to 135 V, VOLTage:OFFSet setting cannot exceed +/-194.0 V.

The VOLTage:RANGe specifies the voltage range using the AC voltage expression. The allowable DC voltage range for the 135 V range is +/-194.0 V, and that for the 270 V range is +/-388.0 V.

By *RST default, the :VOLTage:OFFSet:LIMit:LOWer setting is not set to its MINimum. It is set to 0 for operational safety.

- Query

To query the maximum and minimum allowed values for the VOLTage:OFFSet command, use the query with the MINimum and/or MAXimum parameters.

 

:VOLTage:OFFSet? MINimum

:VOLTage:OFFSet? MAXimum